package ooday02;
//Animal家族的测试类
public class AnimalTest {
    public static void main(String[] args) {
           Dog dog =new Dog("小花",4,"白");
            dog.eat();
           dog.lookhome();
           dog.drink();
                   Chick chick= new Chick("小鸡",1,"黄");
                   chick.eat();
                   chick.layEggs();
                   Fish fish=new Fish("小鱼",1,"红");
                   fish.eat();
    }
}
